Next | Prev | Up | Top | Contents | Index

Run-time Symbol Table

lboot creates a run-time symbol table from the tables in master.d/rtsymtab and master.d/*.exports. The run-time symbol table contains kernel routines and global data that modules can link against. Only routines and globals that are always present in the kernel should be added to master.d/rtsymtab.

If a module contains a routine or global that could be configured out of the kernel, add it to an xxx.exports file that will not be included in the kernel if the module is configured out. See master.d/idev.exports for an example.

If a loadable module contains globals in its master.d file, you must create an xxx.exports file to include those globals so that they can be added to the run-time symbol table. For more information, see master.d/rtsymtab.



Next | Prev | Up | Top | Contents | Index